﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <title>产品浏览及查询</title>
</head>
<body>

<h2>产品浏览及查询</h2>
<div>
    <form action="/select">
        产品名称:&nbsp;
        <input name="txtPname" type="text" id="txtPname" style="width:127px;" value=""/>&nbsp;
        <input type="submit" name="Button1" value="查询产品" id="Button1"/><br/>
    </form>
</div>
<p></p>
<div>
    <div>
        <table cellspacing="0" cellpadding="4" border="0" style="color:#333333;border-collapse:collapse;">
            <tr style="color:White;background-color:#990000;font-weight:bold;">
                <th>产品编号</th>
                <th>类别名称</th>
                <th>产品名称</th>
                <th>产品价格</th>
                <th>产品描述</th>
                <th>登记日期</th>
            </tr>
            <!--/*@thymesVar id="tProducts" type="templates"*/-->
            <tr th:each="tProduct:${tProducts}" style="color:#333333;background-color:#FFFBD6;">
                <td th:text="${tProduct.productId}">1</td>
                <td th:text="${tProduct.categoryName}">电子产品</td>
                <td th:text="${tProduct.productName}">富士相机</td>
                <td th:text="${tProduct.price}">1025.0000</td>
                <td th:text="${tProduct.remark}" style="width:200px;">&nbsp;</td>
                <td th:text="${tProduct.registerDate}">2011-6-1 12:06:50</td>
            </tr>
        </table>
    </div>


</div>


</body>
</html>
